package com.openbravo.pos.sales.event;

import java.util.EventObject;

import com.openbravo.bean.sales.Ticket;

public class TicketEvent extends EventObject {

	Ticket dest;
	public TicketEvent(Ticket source) {
		super(source);
	}
	
	public TicketEvent(Ticket source,Ticket dest){
		super(source);
		this.dest=dest;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 5974627077899427639L;

	public Ticket getSource(){
		return (Ticket) source;
	}
	
	public Ticket getDest(){
		return dest;
	}
	
}
